package cn.mugutu.finance.domain.system;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 系统资源
 */
@Entity
@Table(name = "sys_resource")
@Data
public class Resource extends BaseEntity {
    private static final long serialVersionUID = 1L;

    @Column(unique = true)
    private String name;
    @Column(unique = true)
    private String code;

}
